package com.dmap.community.po;

import java.io.Serializable;

public class Reply implements Serializable {
    /**
     * 
     * 表字段 : community_theme_reply.id
     */
    private Long id;

    /**
     * 
     * 表字段 : community_theme_reply.theme_id
     */
    private Long themeId;

    /**
     * 
     * 表字段 : community_theme_reply.user_id
     */
    private Long userId;

    /**
     * 
     * 表字段 : community_theme_reply.reply_comment
     */
    private String replyComment;

    /**
     * 
     * 表字段 : community_theme_reply.level
     */
    private Integer level;

    /**
     * 
     * 表字段 : community_theme_reply.create_time
     */
    private Long createTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table community_theme_reply
     *
     * @mbggenerated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table community_theme_reply
     *
     * @mbggenerated
     */
    public Reply(Long id, Long themeId, Long userId, String replyComment, Integer level, Long createTime) {
        this.id = id;
        this.themeId = themeId;
        this.userId = userId;
        this.replyComment = replyComment;
        this.level = level;
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table community_theme_reply
     *
     * @mbggenerated
     */
    public Reply() {
        super();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column community_theme_reply.id
     *
     * @return the value of community_theme_reply.id
     *
     * @mbggenerated
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column community_theme_reply.id
     *
     * @param id the value for community_theme_reply.id
     *
     * @mbggenerated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column community_theme_reply.theme_id
     *
     * @return the value of community_theme_reply.theme_id
     *
     * @mbggenerated
     */
    public Long getThemeId() {
        return themeId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column community_theme_reply.theme_id
     *
     * @param themeId the value for community_theme_reply.theme_id
     *
     * @mbggenerated
     */
    public void setThemeId(Long themeId) {
        this.themeId = themeId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column community_theme_reply.user_id
     *
     * @return the value of community_theme_reply.user_id
     *
     * @mbggenerated
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column community_theme_reply.user_id
     *
     * @param userId the value for community_theme_reply.user_id
     *
     * @mbggenerated
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column community_theme_reply.reply_comment
     *
     * @return the value of community_theme_reply.reply_comment
     *
     * @mbggenerated
     */
    public String getReplyComment() {
        return replyComment;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column community_theme_reply.reply_comment
     *
     * @param replyComment the value for community_theme_reply.reply_comment
     *
     * @mbggenerated
     */
    public void setReplyComment(String replyComment) {
        this.replyComment = replyComment == null ? null : replyComment.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column community_theme_reply.level
     *
     * @return the value of community_theme_reply.level
     *
     * @mbggenerated
     */
    public Integer getLevel() {
        return level;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column community_theme_reply.level
     *
     * @param level the value for community_theme_reply.level
     *
     * @mbggenerated
     */
    public void setLevel(Integer level) {
        this.level = level;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column community_theme_reply.create_time
     *
     * @return the value of community_theme_reply.create_time
     *
     * @mbggenerated
     */
    public Long getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column community_theme_reply.create_time
     *
     * @param createTime the value for community_theme_reply.create_time
     *
     * @mbggenerated
     */
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table community_theme_reply
     *
     * @mbggenerated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", themeId=").append(themeId);
        sb.append(", userId=").append(userId);
        sb.append(", replyComment=").append(replyComment);
        sb.append(", level=").append(level);
        sb.append(", createTime=").append(createTime);
        sb.append("]");
        return sb.toString();
    }
}